package com.dcm360.report.alarm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 存储机柜信息对象 cabin
 * 
 * @author ruoyi
 * @date 2022-03-31
 */
public class Cabin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机柜ID，唯一标识 */
    private String id;

    /** 所属机房ID */
    //@ExcelProperty("所属机房ID")
    private String roomId;

    /** 机柜编号 */
    //@ExcelProperty("机柜编号")
    private String serialNo;

    /** 机柜类型, IT设备、空调机柜、配电柜机柜 */
    //@ExcelProperty("机柜类型, IT设备、空调机柜、配电柜机柜")
    private String type;

    /** 描述 */
    //@ExcelProperty("描述")
    private String description;

    /** 当前基准照URL */
    //@ExcelProperty("当前基准照URL")
    private String baseUrl;

    /** 机柜尺寸，多少U */
    //@ExcelProperty("机柜尺寸，多少U")
    private String unum;

    /** 机柜尺寸，数值以X做分隔,第一位是宽度，第二位是高度：60X210 */
    private String widthHeight;

    /** 创建人 */
    private String createUid;

    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setSerialNo(String serialNo) 
    {
        this.serialNo = serialNo;
    }

    public String getSerialNo() 
    {
        return serialNo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setBaseUrl(String baseUrl) 
    {
        this.baseUrl = baseUrl;
    }

    public String getBaseUrl() 
    {
        return baseUrl;
    }
    public void setUnum(String unum) 
    {
        this.unum = unum;
    }

    public String getUnum() 
    {
        return unum;
    }
    public void setWidthHeight(String widthHeight) 
    {
        this.widthHeight = widthHeight;
    }

    public String getWidthHeight() 
    {
        return widthHeight;
    }
    public void setCreateUid(String createUid) 
    {
        this.createUid = createUid;
    }

    public String getCreateUid() 
    {
        return createUid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("serialNo", getSerialNo())
            .append("type", getType())
            .append("description", getDescription())
            .append("baseUrl", getBaseUrl())
            .append("unum", getUnum())
            .append("widthHeight", getWidthHeight())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUid", getCreateUid())
            .append("status", getStatus())
            .toString();
    }
}
